package exsun.jt808.data.jt809_data.platform.main;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PlatformExgMsg {
    //ID
    @ApiModelProperty(value = "id", required = true, example = "123456789012345678")
    private Long id;

    @ApiModelProperty(value = "信息ID", required = true, example = "依迅测试")
    private String informationId;
    //信息内容
    @ApiModelProperty(value = "信息内容", required = true, example = "依迅测试")
    private String informationDetail;
    //来自平台
    @ApiModelProperty(value = "来自平台", required = true, example = "E700A")
    private String platform;
    //状态 1：未应答 2：已应答
    @ApiModelProperty(value = "状态 1：未应答 2：已应答", required = true, example = "1")
    private Integer status;
    private String statusName;
    //创建时间
    @ApiModelProperty(value = "创建时间", required = true, example = "2021-07-01 00:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;
}
